﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020009F5 RID: 2549
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class KMDBLNMBLBC : IMessage<KMDBLNMBLBC>, IMessage, IEquatable<KMDBLNMBLBC>, IDeepCloneable<KMDBLNMBLBC>, IBufferMessage
	{
		// Token: 0x17002045 RID: 8261
		// (get) Token: 0x06007255 RID: 29269 RVA: 0x00131F7C File Offset: 0x0013017C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<KMDBLNMBLBC> Parser
		{
			get
			{
				return KMDBLNMBLBC._parser;
			}
		}

		// Token: 0x17002046 RID: 8262
		// (get) Token: 0x06007256 RID: 29270 RVA: 0x00131F83 File Offset: 0x00130183
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return KMDBLNMBLBCReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002047 RID: 8263
		// (get) Token: 0x06007257 RID: 29271 RVA: 0x00131F95 File Offset: 0x00130195
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return KMDBLNMBLBC.Descriptor;
			}
		}

		// Token: 0x06007258 RID: 29272 RVA: 0x00131F9C File Offset: 0x0013019C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KMDBLNMBLBC()
		{
		}

		// Token: 0x06007259 RID: 29273 RVA: 0x00131FA4 File Offset: 0x001301A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KMDBLNMBLBC(KMDBLNMBLBC other) : this()
		{
			this.avatarId_ = other.avatarId_;
			this.oNPFCALOGFL_ = other.oNPFCALOGFL_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600725A RID: 29274 RVA: 0x00131FD5 File Offset: 0x001301D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KMDBLNMBLBC Clone()
		{
			return new KMDBLNMBLBC(this);
		}

		// Token: 0x17002048 RID: 8264
		// (get) Token: 0x0600725B RID: 29275 RVA: 0x00131FDD File Offset: 0x001301DD
		// (set) Token: 0x0600725C RID: 29276 RVA: 0x00131FE5 File Offset: 0x001301E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AvatarId
		{
			get
			{
				return this.avatarId_;
			}
			set
			{
				this.avatarId_ = value;
			}
		}

		// Token: 0x17002049 RID: 8265
		// (get) Token: 0x0600725D RID: 29277 RVA: 0x00131FEE File Offset: 0x001301EE
		// (set) Token: 0x0600725E RID: 29278 RVA: 0x00131FF6 File Offset: 0x001301F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int ONPFCALOGFL
		{
			get
			{
				return this.oNPFCALOGFL_;
			}
			set
			{
				this.oNPFCALOGFL_ = value;
			}
		}

		// Token: 0x0600725F RID: 29279 RVA: 0x00131FFF File Offset: 0x001301FF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as KMDBLNMBLBC);
		}

		// Token: 0x06007260 RID: 29280 RVA: 0x0013200D File Offset: 0x0013020D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(KMDBLNMBLBC other)
		{
			return other != null && (other == this || (this.AvatarId == other.AvatarId && this.ONPFCALOGFL == other.ONPFCALOGFL && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007261 RID: 29281 RVA: 0x0013204C File Offset: 0x0013024C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.AvatarId != 0U)
			{
				num ^= this.AvatarId.GetHashCode();
			}
			if (this.ONPFCALOGFL != 0)
			{
				num ^= this.ONPFCALOGFL.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007262 RID: 29282 RVA: 0x001320A4 File Offset: 0x001302A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007263 RID: 29283 RVA: 0x001320AC File Offset: 0x001302AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007264 RID: 29284 RVA: 0x001320B8 File Offset: 0x001302B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.AvatarId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.AvatarId);
			}
			if (this.ONPFCALOGFL != 0)
			{
				output.WriteRawTag(16);
				output.WriteInt32(this.ONPFCALOGFL);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007265 RID: 29285 RVA: 0x00132110 File Offset: 0x00130310
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.AvatarId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AvatarId);
			}
			if (this.ONPFCALOGFL != 0)
			{
				num += 1 + CodedOutputStream.ComputeInt32Size(this.ONPFCALOGFL);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007266 RID: 29286 RVA: 0x00132168 File Offset: 0x00130368
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(KMDBLNMBLBC other)
		{
			if (other == null)
			{
				return;
			}
			if (other.AvatarId != 0U)
			{
				this.AvatarId = other.AvatarId;
			}
			if (other.ONPFCALOGFL != 0)
			{
				this.ONPFCALOGFL = other.ONPFCALOGFL;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007267 RID: 29287 RVA: 0x001321B8 File Offset: 0x001303B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007268 RID: 29288 RVA: 0x001321C4 File Offset: 0x001303C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 16U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.ONPFCALOGFL = input.ReadInt32();
					}
				}
				else
				{
					this.AvatarId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002BA6 RID: 11174
		private static readonly MessageParser<KMDBLNMBLBC> _parser = new MessageParser<KMDBLNMBLBC>(() => new KMDBLNMBLBC());

		// Token: 0x04002BA7 RID: 11175
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002BA8 RID: 11176
		public const int AvatarIdFieldNumber = 1;

		// Token: 0x04002BA9 RID: 11177
		private uint avatarId_;

		// Token: 0x04002BAA RID: 11178
		public const int ONPFCALOGFLFieldNumber = 2;

		// Token: 0x04002BAB RID: 11179
		private int oNPFCALOGFL_;
	}
}
